package com.wanxi.list;

import java.util.LinkedList;
import java.util.Map;

public class MyLinkList {
    public static void main(String[] args) {
//        Map
        LinkedList<String> list=new LinkedList<>();
        list.add("a");
        list.addFirst("b");
        list.addFirst("c");
        System.out.println(list);
        for (String s:list
             ) {
            System.out.println(s);
        }
    }
}
